<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3" xmlns:head="http://www.w3.org/1999/html">
<head th:include="public/public_css::public_css ('查看补货任务')" />

<body style="background-color: #f2f2f2;">
<form class="layui-form layui-card-header  layui-card-header-auto" id="searchForm">
    <input type="hidden" class="layui-input" th:value="${bhid}" id="bhid" name="bhid">
    <input type="hidden" class="layui-input" th:value="${sczt}" id="sczt" name="sczt">
</form>
<section class="panel panel-padding layui-card-body">
    <div class="pro">
        <table id="table" class="table text-nowrap"></table>
    </div>

</section>
</body>


<div th:include="public/public_js::public_js"></div>
<script th:inline="javascript">
    var ids=[[${ids}]];
    layui.use(['list','layer','zzpUtils','jquery','laydate'],function () {
        var zzpUtils= layui.zzpUtils,
            $ = layui.jquery,
            laydate = layui.laydate;
        var $table = zzpUtils.table({
            elem: '#table',
            isApi: true,
            pagination:true,
            showColumns: false,
            url:'/wmspdareplenishment/list',
            columns: [ {
                field: 'hpbh',
                title: '货品编号'
            },{
                field: 'hpmc',
                title: '货品名称'
            },{
                field: 'zdwsl',
                title: '包装数量'
            },{
                field: 'ms',
                title: '包装描述',
            },{
                field: 'bhckw',
                title: '补货出库位'
            },{
                field: 'lpn',
                title: '托盘码'
            }],
            detailFormatter: function (index, row) {
                return "这里就没有确定过11";
            },
            queryParams: function () {//查询条件
                return  zzpUtils.getFormJson($("#searchForm"));
            },
        });
    });
</script>
</html>